package com.keray.web.push.config;

import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author by keray
 * date:2021/7/26 4:05 下午
 */
@Document(collection = "web_push_message_name_service")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Getter
@Setter
public class NameServiceModel {
    @Id
    private String id;
    private String ip;
    private Integer port;
    private String active;
}
